<template>
  <h1>按钮组件</h1>
  <el-button>默认按钮</el-button>
<!--  type="primary": 设置按钮的类型为“主要”按钮，通常会使用主题颜色;plain: 设置按钮为朴素样式，即没有边框和背景色填充。-->
  <el-button type="primary" plain>蓝按钮</el-button>
<!--  type="success": 设置按钮的类型为“成功”按钮，通常会使用绿色;round: 设置按钮为圆角样式。-->
  <el-button type="success" round>绿按钮</el-button>
  <!--  type="danger": 设置按钮的类型为“危险”按钮，通常会使用红色;circle: 设置按钮为圆形样式。-->
  <el-button type="danger" circle>红按钮</el-button>
  <el-button type="info">灰按钮</el-button>
  <el-button type="primary" disabled>禁用按钮</el-button>
  <a href="https://www.tmooc.cn">
    <el-button type="warning" link>链接按钮</el-button>
  </a>
  <div>
    <el-button :icon="Search" circle />
    <el-button type="primary" :icon="Edit" circle />
    <el-button type="success" :icon="Check" circle />
    <el-button type="info" :icon="Message" circle />
    <el-button type="warning" :icon="Star" circle />
    <el-button type="danger" :icon="Delete" circle />
  </div>
</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>

<style scoped>

</style>